-
Home
-
Block Catalog
-
1.5.1
-
Code
-
Classes
- RESTSupport
Total Complexity |
26 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
327 |
Lines of code |
200 |
Logical lines of code |
90 |
Comment lines |
72 |
Methods |
11 |
Properties |
0 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_posts() |
S |
51 |
4 |
25 |
register_endpoints() |
S |
43 |
1 |
67 |
validate_post_types() |
S |
61 |
4 |
12 |
delete_index() |
S |
54 |
3 |
21 |
index() |
S |
54 |
3 |
21 |
get_terms() |
S |
55 |
3 |
20 |
get_posts_to_index_query() |
S |
61 |
2 |
12 |
validate_post_ids() |
S |
67 |
2 |
8 |
validate_term_ids() |
S |
67 |
2 |
8 |
register() |
S |
79 |
1 |
3 |
can_register() |
S |
82 |
1 |
3 |